package com.jtpay.textpay;

import android.app.Application;
import android.content.Context;

import com.jtpay.textpay.util.SharedPreferenceUtil;

public class TextApplication extends Application {
    protected static Context mContext;
    private static SharedPreferenceUtil sharedPreferenceUtil = new SharedPreferenceUtil();

    @Override
    public void onCreate() {
        super.onCreate();
        mContext = getApplicationContext();
    }

    public static Context getContext() {
        return mContext;
    }
    public static SharedPreferenceUtil getSharedPreferenceUtil() {
        return sharedPreferenceUtil;
    }
}
